package scrum.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Task {
	
private static final long serialVersionUID = -4012312131274027814L;
	
	private Integer advance;
	private String description;
	private Long id;
	private String name;
	private Date startDate;
	private Date dueDate;
	private String status;
	private Employee responsible;
	
	
	public Task(){
		
		this.status = "Open";
		this.advance = 0;
		this.startDate = new Date();
		this.dueDate = new Date();
	}

	public Integer getAdvance() {
		return advance;
	}

	public void setAdvance(Integer advance) {
		this.advance = advance;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getDueDate() {
		return dueDate;
	}

	public void setDueDate(Date dueDate) {
		this.dueDate = dueDate;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public java.util.Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Employee getResponsible() {
		return responsible;
	}

	public void setResponsible(Employee responsible) {
		this.responsible = responsible;
	}

}
